

package com.platform.security.exception;

import org.springframework.http.HttpStatus;

public class ImageCodeNotMatchException extends Authentication2Exception {

    public ImageCodeNotMatchException(String msg) {
        super(msg);
    }

    @Override
    public String getOAuth2ErrorCode() {
        return "image_code_not_match";
    }

    @Override
    public int getHttpErrorCode() {
        return HttpStatus.BAD_REQUEST.value();
    }
}
